# automake
bin_PROGRAMS = fit_net_block fit_ted fit_ted_dpm fit_ted_dpm_online \
  fit_ted_lda predict_ted_lda fit_ted_lda_online \
  fit_med fit_med_dpm fit_med_dpm_online \
  fit_med_gauss fit_med_gauss_dpm fit_med_gauss_dpm_online \
  fit_lasso fit_lasso_lda predict_lasso_lda \
  fit_lasso_gauss_lda predict_lasso_gauss_lda \
  fit_lasso_lda_online fit_lasso_gauss_lda_online \
  fit_gaussian_lda sort_rows_tsp

dist_bin_SCRIPTS = 

## multinomial divergence model
fit_med_SOURCES = fit_med.cc expression.hh expression_tuple.hh med.hh util.hh util.cc 

fit_med_dpm_SOURCES = fit_med_dpm.cc dpm.hh expression.hh expression_tuple.hh med.hh util.hh util.cc sampler.hh sampler.cc

fit_med_dpm_online_SOURCES = fit_med_dpm.cc dpm.hh expression.hh expression_tuple.hh med.hh util.hh util.cc sampler.hh sampler.cc
fit_med_dpm_online_CPPFLAGS = -DONLINE

## multinomial + gaussian
fit_med_gauss_SOURCES = fit_med.cc expression.hh expression_tuple.hh med.hh med_gauss.hh util.hh util.cc
fit_med_gauss_CPPFLAGS = -DMEDGAUSS

fit_med_gauss_dpm_SOURCES = fit_med_dpm.cc dpm.hh expression.hh expression_tuple.hh med.hh med_gauss.hh util.hh util.cc sampler.hh sampler.cc
fit_med_gauss_dpm_CPPFLAGS = -DMEDGAUSS

fit_med_gauss_dpm_online_SOURCES = fit_med_dpm.cc dpm.hh expression.hh expression_tuple.hh med.hh med_gauss.hh util.hh util.cc sampler.hh sampler.cc
fit_med_gauss_dpm_online_CPPFLAGS = -DONLINE -DMEDGAUSS


## time-series divergence model
fit_ted_SOURCES = ted.hh fit_ted.cc expression.hh expression_pair.hh util.hh util.cc

fit_ted_dpm_SOURCES = ted.hh expression.hh expression_pair.hh latent.hh util.hh util.cc random.hh random.cc sampler.hh sampler.cc dpm.hh fit_ted_dpm.cc

fit_ted_dpm_online_SOURCES = ted.hh expression.hh expression_pair.hh latent.hh util.hh util.cc random.hh random.cc sampler.hh sampler.cc dpm.hh fit_ted_dpm.cc
fit_ted_dpm_online_CPPFLAGS = -DONLINE

fit_ted_lda_SOURCES = lda.hh ted.hh expression.hh expression_pair.hh latent.hh util.hh util.cc random.hh random.cc sampler.hh sampler.cc fit_ted_lda.cc

predict_ted_lda_SOURCES = lda.hh ted.hh expression.hh expression_pair.hh latent.hh util.hh util.cc random.hh random.cc sampler.hh sampler.cc predict_ted_lda.cc

fit_ted_lda_online_SOURCES = lda.hh ted.hh expression.hh expression_pair.hh latent.hh util.hh util.cc random.hh random.cc sampler.hh sampler.cc fit_ted_lda.cc
fit_ted_lda_online_CPPFLAGS = -DONLINE

## lasso regression
fit_lasso_SOURCES = lasso.hh expression.hh util.hh util.cc fit_lasso.cc

fit_lasso_lda_SOURCES = lda.hh  lasso.hh expression.hh util.hh util.cc latent.hh random.hh random.cc sampler.hh sampler.cc fit_lasso_lda.cc

fit_lasso_lda_online_SOURCES = lda.hh  lasso.hh expression.hh util.hh util.cc latent.hh random.hh random.cc sampler.hh sampler.cc fit_lasso_lda.cc
fit_lasso_lda_online_CPPFLAGS = -DONLINE

predict_lasso_lda_SOURCES = lda.hh  lasso.hh expression.hh util.hh util.cc random.hh random.cc sampler.hh sampler.cc predict_lasso_lda.cc

fit_lasso_gauss_lda_SOURCES = lda.hh  lasso.hh expression.hh util.hh util.cc latent.hh random.hh random.cc sampler.hh sampler.cc fit_lasso_gauss_lda.cc

fit_lasso_gauss_lda_online_SOURCES = lda.hh  lasso.hh expression.hh util.hh util.cc latent.hh random.hh random.cc sampler.hh sampler.cc fit_lasso_gauss_lda.cc
fit_lasso_gauss_lda_online_CPPFLAGS = -DONLINE

predict_lasso_gauss_lda_SOURCES = lda.hh  lasso.hh expression.hh util.hh util.cc random.hh random.cc sampler.hh sampler.cc predict_lasso_gauss_lda.cc

## gaussian lda
fit_gaussian_lda_SOURCES = lda.hh gaussian.hh expression.hh util.hh util.cc latent.hh random.hh random.cc sampler.hh sampler.cc fit_gaussian_lda.cc

## block model
fit_net_block_SOURCES = block.hh block.cc util.hh util.cc btree.hh network.hh random.hh random.cc

## etc.
sort_rows_tsp_SOURCES = sort_rows_tsp.cc util.hh util.cc 
